package com.youhome.mapper;

import com.youhome.model.ListHubPhoto;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ListHubPhotoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ListHubPhoto record);

    int insertSelective(ListHubPhoto record);

    int insertBatch(List<ListHubPhoto> list);

    ListHubPhoto selectByPrimaryKey(Long id);

    List<ListHubPhoto> selectByBean(ListHubPhoto record);

    int updateByPrimaryKeySelective(ListHubPhoto record);

    int updateByPrimaryKey(ListHubPhoto record);

    int deleteByBean(ListHubPhoto record);
}